package com.example.datadashboard.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDate;
import java.util.List;
import java.util.Map;

@Mapper
public interface ReportMapper {
    List<Map<String, Object>> selectAllReports();
    int countAllReports();
    int countReportsByDate(@Param("date") LocalDate date);
}
